home *** CD-ROM | disk | FTP | other *** search
/ Hackers Handbook - Millenium Edition / Hackers Handbook.iso / library / hack / aol2.txt < prev    next >
Encoding:
Text File  |  1998-07-23  |  2.1 KB  |  48 lines

  1. RemoteAdmin/AOL Server 2.2
  2.  
  3.                    Vulnerability in AOL Server 2.2 (Unix)
  4.  
  5.                    SYSTEMS AFFECTED
  6.                    Unix Servers Running AOL Server 2.2
  7.  
  8.                    PROBLEM
  9.                    Any local user is able to retrieve the encrypted password of the
  10.                    AOLserver's nsdadmin account, the password system uses DES, so the
  11.                    attacker can crack the password using the appropriate software. This is
  12.                    because the nsd.ini file, which AOLserver uses to set up it's port settings
  13.                    and other characteristics, is world-readable.
  14.  
  15.                    IMPACT
  16.                    The nsadmin account can be compromised and then used to modify the
  17.                    AOLserver configuration, change passwords or shutdown the server.
  18.                    Once a local user has cracked the password, he is then able to use a
  19.                    web browser to reconfigure the server by visiting the following URL..
  20.  
  21.                    'http://host.to.attack.com:9876/NS/Setup'
  22.  
  23.                    We use port 9876 because it was defined in the nsd.ini file as:
  24.  
  25.                    [ns/setup] Port=9876.
  26.  
  27.                    Once at the password prompt, the attacker simply enters the nsadmin
  28.                    username and the password that he cracked. The attacker now has
  29.                    complete control over the AOLserver.
  30.  
  31.                    EXPLOIT
  32.                    Locally, locate the AOLserver directory (find / -name nsd.ini), and
  33.                    follow these simple steps..
  34.  
  35.                    % cd <AOLserver directory>
  36.                    % grep Password nsd.ini
  37.                    Password=t2GU5GN5XJWvk 
  38.                    %
  39.  
  40.                    ..Next crack the DES encrypted string using your favorite cracker
  41.                    program.
  42.  
  43.                    SOLUTION
  44.                    Make the nsd.ini file readable only by it's owner.
  45.  
  46.                    The contents of this advisory are Copyright (c) 1998 the Rhino9 security
  47.                    research team, this document may be distributed freely, as long as
  48.                    proper credit is given.